home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / pickdate.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  1.6 KB  |  44 lines

  1. //---------------------------------------------------------------------------
  2. // Borland C++Builder
  3. // Copyright (c) 1987, 1998 Borland International Inc.  All Rights Reserved.
  4. //---------------------------------------------------------------------------
  5. //---------------------------------------------------------------------------
  6. #ifndef pickdateH
  7. #define pickdateH
  8. //---------------------------------------------------------------------------
  9. #include <Classes.hpp>
  10. #include <Controls.hpp>
  11. #include <StdCtrls.hpp>
  12. #include <Forms.hpp>
  13. #include <ExtCtrls.hpp>
  14. #include <Buttons.hpp>
  15. #include <Grids.hpp>
  16. #include "CCALENDR.h"
  17. //---------------------------------------------------------------------------
  18. class TBrDateForm : public TForm
  19. {
  20. __published:    // IDE-managed Components
  21.     TButton *OkBtn;
  22.     TButton *CancelBtn;
  23.     TBevel *Bevel1;
  24.     TLabel *TitleLabel;
  25.     TSpeedButton *PrevMonthBtn;
  26.     TSpeedButton *NextMonthBtn;
  27.    TCCalendar *Calendar1;
  28.     void __fastcall PrevMonthBtnClick(TObject *Sender);
  29.     void __fastcall NextMonthBtnClick(TObject *Sender);
  30.     void __fastcall Calendar1Change(TObject *Sender);
  31.         
  32.         
  33. private:    // User declarations
  34.     void SetDate(TDateTime Date);
  35.     TDateTime GetDate();
  36. public:        // User declarations
  37.     __property TDateTime Date={read=GetDate,write=SetDate};
  38.     virtual __fastcall TBrDateForm(TComponent* Owner);
  39. };
  40. //---------------------------------------------------------------------------
  41. extern TBrDateForm *BrDateForm;
  42. //---------------------------------------------------------------------------
  43. #endif
  44.